package chapter04;

/**
 * 反转可变字符串
 * Created by a on 2017/6/9.
 */
public class Test074 {
    public static void main(String[] args) {
        StringBuilder stringBuilder = new StringBuilder("abc");
        System.out.println(stringBuilder);

        StringBuilder stringBuilder1 = stringBuilder.reverse();
        System.out.println(stringBuilder);
        System.out.println(stringBuilder1);
    }
}
